#!/bin/bash
POSTGRESQL_PATH=~/Programas/postgresql/9.1.14-1/bin
BACKUP_SIJYP_PATH=~/Globant/Proyectos/Codigo/oim/dev-java/sijt/v2/src/sijyp-db/src/main/resources/liquibase

#$POSTGRESQL_PATH/./pg_dump -U sijyp -W -v -s -h sijyp-rm.dev.globant.com -n public -E SQL_ASCII -f $BACKUP_SIJYP_PATH/public/backup/sijyp_dev_schema_$(date +%d_%m_%Y).sql sijyp_dev
$POSTGRESQL_PATH/./pg_dump -U sijyp -W -v -a --inserts -h sijyp-rm.dev.globant.com -n public -E SQL_ASCII -f $BACKUP_SIJYP_PATH/public/backup/sijyp_dev_data_$(date +%d_%m_%Y).sql sijyp_dev